package com.verlet.springbootdemo.simple.nettyrpc.client.scan;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author verlet
 * @date 2020/4/19
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@NettyRpcClient
public @interface NettyRpcClient2 {
    @AliasFor("name")
    String value() default "nettyRpcClient2";

    /**
     * bean 名称
     */
    @AliasFor("value")
    String name() default "nettyRpcClient2";

}
